package top.zhmq.userprovider.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.zhmq.commonmodule.model.User;

/**
 *
 *
 * @author Glory
 * @classname UserDao
 * @create 2021-06-01 09:23
 */

@Mapper
public interface UserDao {
    int register(@Param(value = "upassword") String upassword,
                 @Param(value = "uname") String uname,
                 @Param(value = "usex") String usex,
                 @Param(value = "uemail") String uemail);

    User login(@Param(value = "uname") String uname);//用户登录接口;

    int active(@Param(value = "uname") String uname);

}
